<?php
use TuxDrink\TuxDb\Drink\Util\TuxS3Util;
use TuxDrink\TuxDb\Mysql\Drink\TuxDbMysqlDrink;
use TuxDrink\TuxDb\Mysql\Drink\TuxDbMysqlImage;
use TuxDrink\TuxDb\Mysql\Drink\TuxDbMysqlDrinkGeneric;
return array(
	
'service_manager' => array(
    'factories' => array(
        'TuxS3Util' => function($sm) {
            $aws = $sm->get('aws');
            $s3 = $aws->get('s3');
            return new TuxS3Util($s3);
        },
        'TuxDbMysqlImage' => function($sm) {
        	$tuxS3Util = $sm->get('TuxS3Util');
        	$config = $sm->get('Config');
        	$tuxDbMysqlImage = new TuxDbMysqlImage($config,$tuxS3Util);
        	return $tuxDbMysqlImage;
        },
        'TuxDbMysqlDrink' => function($sm) {
        	$tuxDbMysqlimage = $sm->get('TuxDbMysqlImage');
        	$config = $sm->get('Config');
        	$tuxDbMysqlDrink = new TuxDbMysqlDrink($config,$tuxDbMysqlimage);
        	return $tuxDbMysqlDrink;
        },
        'TuxDbMysqlDrinkGeneric' => function($sm) {
        	$tuxDbMysqlimage = $sm->get('TuxDbMysqlImage');
        	$config = $sm->get('Config');
        	$tuxDbMysqlDrinkGeneric = new TuxDbMysqlDrinkGeneric($config,$tuxDbMysqlimage);
        	return $tuxDbMysqlDrinkGeneric;
        },
        
    )
)
		
);